package com.atguigu.realtime.publisher.trade.service;

import com.atguigu.realtime.publisher.trade.bean.TradeProvinceOrderBean;

import java.math.BigDecimal;
import java.util.List;

public interface TradeProvinceOrderService {

    // 获取省份 订单数 订单金额
    List<TradeProvinceOrderBean> getProvinceOrder(String date);

    // 获取 所有订单总额
    BigDecimal getTotalAmount(String date);
}
